package com.heima.article.service;

import com.heima.model.article.pojos.ApCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.behavior.dto.BehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * <p>
 * APP收藏信息表 服务类
 * </p>
 *
 * @author JinCc
 * @since 2024-08-22
 */
public interface IApCollectionService extends IService<ApCollection> {

    /**
     * 文章收藏
     * @param dto
     * @return
     */
    ResponseResult collection(BehaviorDto dto);

    /**
     * 文章行为数据回显
     * @param dto
     * @return
     */
    ResponseResult loadArticleBehavior(BehaviorDto dto);
}
